package com.xzj.spring.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ProjectName: SpringDemo
 * @Package: com.xzj.spring.annotation
 * @ClassName: Mytest
 * @Author: xzj
 * @Description:
 * @Date: 2022/7/15 13:54
 * @Version: 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Mytest {

    @AliasFor(annotation = Component.class)
    String value() default "";

}